How do I automatically scroll to the bottom of a multiline text box?
213713-Nov-2013
I have a multiline textbox and i want textbox to scroll down automatically whenever i add a new line. How to do it?
Home / DeveloperSection / Forums / How do I automatically scroll to the bottom of a multiline text box?
Anonymous User
13-Nov-2013You can use the following code snippet:
myTextBox.SelectionStart = myTextBox.Text.Length;
myTextBox.ScrollToCaret();
which will automatically scroll to the end.